Optimal. Leaf size=65 \[ -\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}+\frac {b d^2 n \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^2}-\frac {b d n}{e \sqrt {x}}+\frac {b n}{2 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 65, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2454, 2395, 43} \[ -\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}+\frac {b d^2 n \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^2}-\frac {b d n}{e \sqrt {x}}+\frac {b n}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2395
Rule 2454
Rubi steps
\begin {align*} \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x^2} \, dx &=-\left (2 \operatorname {Subst}\left (\int x \left (a+b \log \left (c (d+e x)^n\right )\right ) \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}+(b e n) \operatorname {Subst}\left (\int \frac {x^2}{d+e x} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}+(b e n) \operatorname {Subst}\left (\int \left (-\frac {d}{e^2}+\frac {x}{e}+\frac {d^2}{e^2 (d+e x)}\right ) \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=\frac {b n}{2 x}-\frac {b d n}{e \sqrt {x}}+\frac {b d^2 n \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^2}-\frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 68, normalized size = 1.05 \[ -\frac {a}{x}-\frac {b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x}+\frac {b d^2 n \log \left (d+\frac {e}{\sqrt {x}}\right )}{e^2}-\frac {b d n}{e \sqrt {x}}+\frac {b n}{2 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 70, normalized size = 1.08 \[ -\frac {2 \, b d e n \sqrt {x} - b e^{2} n + 2 \, b e^{2} \log \relax (c) + 2 \, a e^{2} - 2 \, {\left (b d^{2} n x - b e^{2} n\right )} \log \left (\frac {d x + e \sqrt {x}}{x}\right )}{2 \, e^{2} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.22, size = 162, normalized size = 2.49 \[ \frac {1}{2} \, {\left (\frac {4 \, {\left (d \sqrt {x} + e\right )} b d n \log \left (\frac {d \sqrt {x} + e}{\sqrt {x}}\right )}{\sqrt {x}} - \frac {2 \, {\left (d \sqrt {x} + e\right )}^{2} b n \log \left (\frac {d \sqrt {x} + e}{\sqrt {x}}\right )}{x} - \frac {4 \, {\left (d \sqrt {x} + e\right )} b d n}{\sqrt {x}} + \frac {4 \, {\left (d \sqrt {x} + e\right )} b d \log \relax (c)}{\sqrt {x}} + \frac {{\left (d \sqrt {x} + e\right )}^{2} b n}{x} - \frac {2 \, {\left (d \sqrt {x} + e\right )}^{2} b \log \relax (c)}{x} + \frac {4 \, {\left (d \sqrt {x} + e\right )} a d}{\sqrt {x}} - \frac {2 \, {\left (d \sqrt {x} + e\right )}^{2} a}{x}\right )} e^{\left (-2\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 63, normalized size = 0.97 \[ \frac {b \,d^{2} n \ln \left (d +\frac {e}{\sqrt {x}}\right )}{e^{2}}-\frac {b d n}{e \sqrt {x}}+\frac {b n}{2 x}-\frac {b \ln \left (c \,{\mathrm e}^{n \ln \left (d +\frac {e}{\sqrt {x}}\right )}\right )}{x}-\frac {a}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.81, size = 75, normalized size = 1.15 \[ \frac {1}{2} \, b e n {\left (\frac {2 \, d^{2} \log \left (d \sqrt {x} + e\right )}{e^{3}} - \frac {d^{2} \log \relax (x)}{e^{3}} - \frac {2 \, d \sqrt {x} - e}{e^{2} x}\right )} - \frac {b \log \left (c {\left (d + \frac {e}{\sqrt {x}}\right )}^{n}\right )}{x} - \frac {a}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.43, size = 60, normalized size = 0.92 \[ \frac {b\,n}{2\,x}-\frac {a}{x}-\frac {b\,\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )}{x}-\frac {b\,d\,n}{e\,\sqrt {x}}+\frac {b\,d^2\,n\,\ln \left (d+\frac {e}{\sqrt {x}}\right )}{e^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________